/** 适配iphoneX即之后版本的底部黑色横线
 * https://developers.weixin.qq.com/community/develop/article/doc/000604d707c5b023a049ba7125b413
 */
@mixin IphoneXPaddingBottom($val: 0rpx) {
	padding-bottom: $val;
	padding-bottom: calc(#{$val / 2} + constant(safe-area-inset-bottom)); /* no */
	padding-bottom: calc(#{$val / 2} + env(safe-area-inset-bottom)); /* no */
}

.iphonex-padding-bottom {
	@include IphoneXPaddingBottom(20rpx);
}
